#ifndef _PM_H
#define _PM_H

#define DEBUG 1
#define BUF (0x64)

struct poly {
	uint8_t multiple;
	uint8_t power;
	struct poly *next;
};

extern int check(char *exp);
extern int sort(struct poly **store, int mul_counter);
extern int multiple(struct poly **store, int mul_counter);
extern int allocate(struct poly **store, char *exp, int mul_counter, char ch);

#endif
